Draw focus rect for buttons with relief set to GTK_RELIEF_NONE. (#487954)
authorCody Russell <cody@jhu.edu>
Thu, 18 Oct 2007 17:14:36 +0000 (17:14 +0000)
committerCody Russell <bratsche@src.gnome.org>
Thu, 18 Oct 2007 17:14:36 +0000 (17:14 +0000)
2007-10-18  Cody Russell  <cody@jhu.edu>

        * modules/engines/ms-windows/msw_style.c: Draw focus rect for
        buttons with relief set to GTK_RELIEF_NONE. (#487954)

svn path=/trunk/; revision=18931

ChangeLog
modules/engines/ms-windows/msw_style.c

index 3f81f71d435ae26ede4fdf70e81eacff6e69e628..58f648a327b6f9837489231dffd58b45b1adafd7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-18  Cody Russell  <cody@jhu.edu>
+
+       * modules/engines/ms-windows/msw_style.c: Draw focus rect for
+       buttons with relief set to GTK_RELIEF_NONE. (#487954)
+
 2007-10-17  Cody Russell  <cody@jhu.edu>
 
        * gdk/win32/gdkevents-win32.c
index 97ddbf6e02fda359ba44446762cd8250eef46fd4..eafc2c07278fdadb50e1345c6e1e10ca3a69254d 100755 (executable)
@@ -3224,11 +3224,7 @@ draw_focus ( GtkStyle      *style,
     if( !GTK_WIDGET_CAN_FOCUS(widget) ) {
         return;
     }
-    if( detail && 0 == strcmp(detail, "button") 
-        && GTK_RELIEF_NONE == gtk_button_get_relief( GTK_BUTTON(widget) ) )
-    {
-        return;
-    }
+
     if ( is_combo_box_child(widget) 
         && (GTK_IS_ARROW(widget) || GTK_IS_BUTTON(widget)) ) {
         return;